package com.zl.learning.guice;

import com.google.inject.Guice;
import com.google.inject.Injector;

public class Appplication {

    public static void main(String[] args) {
        Injector inject = Guice.createInjector(new AppModule());
        MyApp app = inject.getInstance(MyApp.class);
        app.work();
    }
}
